package com.hncj.yqfk.ldao;

import com.hncj.yqfk.entity.Log;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;



public interface Log_Dao extends JpaRepository<Log,Long> {

    @Query(value = "insert into log (user_code,ip,type,model,result,description) values(?1,?2,?3,?4,?5,?6)", nativeQuery = true)
    boolean Add(String user_code, String ip, String type, String model, String result,String description);



}
